﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCApplication.Helpers
{
    public class EnumerationsHelper
    {
        public static List<SelectListItem> GetGenderEnumSelectList()
        {
			List<SelectListItem> list = new List<SelectListItem>();
			SelectListItem item;

            item = new SelectListItem();
            item.Value = "1";
            item.Text = "Hombre";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "2";
            item.Text = "Mujer";
            list.Add(item);

            return list;
        }

        public static List<SelectListItem> GetProductClassSelectList()
        {
			List<SelectListItem> list = new List<SelectListItem>();
			SelectListItem item;

            item = new SelectListItem();
            item.Value = "1";
            item.Text = "Combo 1";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "2";
            item.Text = "clase 2";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "3";
            item.Text = "Clase3";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "4";
            item.Text = "clase4";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "5";
            item.Text = "clase5";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "6";
            item.Text = "clase6";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "7";
            item.Text = "clase7";
            list.Add(item);

            item = new SelectListItem();
            item.Value = "8";
            item.Text = "clase8";
            list.Add(item);

            return list;
        }

    }
}